package com.yand.spring.DesignPrinciples.lawOfDemeterLod.beforeImprovement;

import java.util.ArrayList;
import java.util.List;

public class Boss {


    public void commandCheckNumber(TeamLeader teamLeader){
        //boss   一行一行往下翻 boss   统计
        List<Course> courseList = new ArrayList<>();
        for(int i = 0 ; i < 20 ; i ++){
            courseList.add(new Course());
        }
        teamLeader.checkNumberCourses(courseList);
    }


}
